package com.hxs.hxsserver.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hxs.hxsserver.domain.entity.device.Device;
import com.hxs.hxsserver.domain.entity.device.DeviceCommandLogHistory;
import com.hxs.hxsserver.mapper.device.DeviceCommandLogHistoryMapper;
import com.hxs.hxsserver.service.DeviceCommandLogHistoryService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

/**
 * @author liuchuan
 * @create 2024/9/26
 */
@Service
@Slf4j
public class DeviceComandLogHistoryServiceImpl extends ServiceImpl<DeviceCommandLogHistoryMapper, DeviceCommandLogHistory> implements DeviceCommandLogHistoryService {

    @Override
    public void insertLog(DeviceCommandLogHistory deviceCommandLogHistory) {
        this.baseMapper.insertSelective(deviceCommandLogHistory);
    }

}
